(function(window) {
	var ImgUtil = {
		display : function(value) {
			if (null != value && "" != value) {
				return "<img src='file/display/" + value
						+ "' style='width:30px; hight:30px;' />";
			}
		},
		bigPicture : function(returnImage,height,width) {
			if (null != returnImage && "" != returnImage) {
				var win_Watch = Ext.create('Ext.Window', {
					width : width,
					height : height,
					minHeight : height,
					minWidth : width,
					maximizable : true,
					title : '图片大图',
					layout : "fit", // 窗口布局类型
					modal : true, // 是否模态窗口，默认为false
					resizable : false,
					closeAction : 'hide',
					plain : true,
					draggable : true,
					border : false,
					items : [ Ext.create('Ext.Img', {
						src : 'file/display/' + returnImage
					}) ]
				});
				win_Watch.show();
			}
		}

	};
	window.ImgUtil = ImgUtil;
})(window);